package demo2;

interface IWork{
    void work() ;
}
class One implements  IWork{
    @Override
    public void work() {
        System.out.println("1的重写");
    }
}
class Two implements IWork{

    @Override
    public void work() {
        System.out.println("2的重写");
    }
}

public class Test2  {
    public static void main(String[] args) {

    }
}
